package com.yy.hi.library.restful.http

import com.yy.hi.library.restful.HiCall
import com.yy.hi.library.restful.HiCallback
import com.yy.hi.library.restful.HiRequest
import retrofit2.Retrofit
import retrofit2.http.GET
import retrofit2.http.HeaderMap
import retrofit2.http.Url

/**
 * User: gongyongfeng2@yy.com
 * Date: 2020/7/2 16 :04
 */

//class RetrofitCallFactory(val baseUrl: String) : HiCall.Factory {
//    init {
//        val retrofit = Retrofit.Builder()
//            .baseUrl(baseUrl)
//            .build()
//    }
//
//    override fun newCall(request: HiRequest): HiCall<Any> {
//
//    }
//
//    interface ApiService {
//        @GET
//        fun get(@HeaderMap headers: MutableMap<String, String>, @Url url: String) {
//        }
//    }
//}